Methods, apparatuses and systems for cloud-based disaster recovery

ABSTRACT

Methods, apparatuses and systems for cloud-based disaster recovery are provided. The method, for example, includes configuring, at a cloud-based computing platform, a workload associated with a function-based service used by a client machine, the workload including generated steps listing servers associated with the function-based service and configured based on information provided by a user at the client machine; and restoring the servers for each of the generated steps of the workload including executing at least one of a pre-restore script, a post-restore script, or a manual input upon receiving, from the client machine, a failure indication associated with the servers.

FIELD

The disclosure generally relates to methods, apparatuses and systems for cloud-based disaster recovery, and more particularly, to methods, apparatuses and systems for managing backup solutions for data backup and recovery of servers.

BACKGROUND

Client workstations within an organization's work facilities use one or more servers to perform various operations associated with the organization. Data on a server can be backed up using one or more backup solutions provided by a backup vendor associated with the server, so that if that server should become inoperable, e.g., crash, become corrupted, or destroyed, the server can be restored to a point in time in a relatively quick manner. Additionally, restoring a server sometimes requires manual/user intervention, which can be quite challenging and/or time consuming for a user in view of the complexity of the backup solutions. As can be appreciated, the more servers that become inoperable, the more time it will take to restore them, as each server has its own unique backup solution.

Accordingly, there is a need for methods, apparatuses and systems for managing backup solutions for data backup and recovery of servers.

SUMMARY

Methods, apparatuses and systems for managing backup solutions for data backup and recovery of servers are disclosed herein.

In accordance with an aspect of the disclosure, there is provided a method for cloud-based disaster recovery. The method includes configuring, at a cloud-based computing platform, a workload associated with a function-based service used by a client machine, the workload including generated steps listing servers associated with the function-based service and configured based on information provided by a user at the client machine; and restoring the servers for each of the generated steps of the workload including executing at least one of a pre-restore script, a post-restore script, or a manual input upon receiving, from the client machine, a failure indication associated with the servers.

In accordance with an aspect of the disclosure, there is provided a nontransitory computer readable storage medium having stored thereon instructions that when executed by a processor perform a method for cloud-based disaster recovery. The method includes configuring, at a cloud-based computing platform, a workload associated with a function-based service used by a client machine, the workload including generated steps listing servers associated with the function-based service and configured based on information provided by a user at the client machine; and restoring the servers for each of the generated steps of the workload including executing at least one of a pre-restore script, a post-restore script, or a manual input upon receiving, from the client machine, a failure indication associated with the servers.

In accordance with an aspect of the disclosure, there is provided a cloud-based server of a cloud-based computing platform. The cloud-based server includes a processor and a memory coupled to the processor and having stored thereon instructions that when executed by the processor configure the cloud-based server to configure, at a cloud-based computing platform, a workload associated with a function-based service used by a client machine, the workload including generated steps listing servers associated with the function-based service and configured based on information provided by a user at the client machine; and restore the servers for each of the generated steps of the workload including executing at least one of a pre-restore script, a post-restore script, or a manual input upon receiving, from the client machine, a failure indication associated with the servers.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features and advantages of certain embodiments of the disclosure will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which.

FIG. 1 is a diagram of a cloud-based disaster recovery system that uses a web-based application, in accordance with an embodiment of the disclosure;

FIG. 2 is a diagram of a cloud-based computing platform including the web-based application for restoring one or more servers used in a client domain, in accordance with an embodiment of the disclosure;

FIG. 3A is a diagram of a workload used by the web-based application for restoring one or more servers used in a client domain, in accordance with an embodiment of the disclosure;

FIG. 3B is a flowchart of a method for configuring a workload;

FIG. 3C is a method for executing the steps in the workload of FIG. 3B;

FIG. 4 is a diagram of an electronic device, in accordance with an embodiment of the disclosure; and

FIG. 5 is a diagram of a graphical user interface (GUI), in accordance with an embodiment of the disclosure.

To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. The figures are not drawn to scale and may be simplified for clarity. Elements and features of one embodiment may be beneficially incorporated in other embodiments without further recitation.

DETAILED DESCRIPTION

Embodiments of the disclosure will be described herein below with reference to the accompanying drawings. However, the embodiments of the disclosure are not limited to the specific embodiments and should be construed as including all modifications, changes, equivalent devices and methods, and/or alternative embodiments of the disclosure. In the description of the drawings, similar reference numerals are used for similar elements.

A backup, or the process of backing up, can refer to the copying and/or archiving of computer data so the copied data can be used to restore the original after a data loss event. Backup solution refers to a solution used by a backup vendor. Backup set refers to multiple backups.

Cloud computing can refer to computing that can involve a large number of computers connected through a communication network such as the Internet. Cloud computing can be a form of distributed computing over a network, and can include the ability to run a program or application (e.g., a web application) on many connected computers at the same time.

Cloud storage can refer to a model of networked enterprise storage where data is stored in virtualized pools of storage which are generally hosted by third parties. Hosting companies can operate large data centers, and users can have data hosted by leasing storage capacity from said hosting companies. Physically, the resource can span across multiple servers and multiple locations.

Disaster Recovery as a service (DRaaS) can refer to the use of physical machines, virtual machines, and/or other resources to perform disaster recovery offered with a cloud-service model.

Virtual machine (VM) can refer to a software-based emulation of a computer. Virtual machines can operate based on the computer architecture and functions of a computer.

Workload as used herein can refer to groups of machines including, for example, servers, networks, firewalls, etc., and all other devices and interconnections between the groups of machines of a client site or sites. For example, a workload can include servers that must be running for a corresponding business function (e.g., web-based application service, accounting services, sales systems, public website, etc.) to be available at the client site. Servers can be organized within a workload in groups called workload steps which allow a user (e.g., a creator of the workload) to specify when an order of servers being restored is important.

FIG. 1 is a diagram of a cloud-based disaster recovery system 100 (system 100) that uses a web-based application, in accordance with an embodiment of the disclosure. The system 100 can provide DRaaS and can be used for data backup and recovery of servers used by client workstations, e.g., for cloud-based recovery of the servers in the event of a disaster.

The system 100 includes a client domain 110, at least one computer network 120 and a cloud-based computing platform 130. The client domain 110 includes at least one client machine/device 112A-1120 (hereinafter collectively referred to as client machines 112) and an onsite client server 114, which partitions tasks or workloads between the client machines 112 and one or more service providers, i.e., servers.

The cloud-based computing platform 130 includes a cloud-based storage device 132 (storage 132) and at least one cloud-based server 134 (cloud server 134). The cloud-based computing platform may also include a virtual machine representing virtualized client workloads. The cloud-based computing platform 130 communicates with the client domain 110 via a computer network 120, which can be a wide-area network (WAN), an Internet and other networks implemented for communication by the client domain 110; a more detailed description of the computer network 120 is described below. In addition, while the storage 132 is illustrated as a single, physical device, the storage 132 can span multiple servers and can be accessed by clients over the internet.

The client domain 110 including the client machines 112 can represent a client workload including servers, networks, firewalls, etc., and all other machines and interconnections of a client domain or domains 110.

A client in the client domain 110 can interact via a user interface of the client server 114 through the computer network 120 with a web-based application and executed via, for example, the cloud server 134 of the cloud-based computing platform 130.

For example, a web-based application as described herein can be used at the cloud server 134 to manage backup information (e.g., backup solutions, backups, backup sets, etc.) provided by one or more backup vendors 102, 104, which are used locally by the client machines 112 at the client domain 110. The backup vendors 102, 104, using the backup information, are configured to restore one or more respective servers 102 a, 104 a. The backup information can also include other information (e.g., information relating to a previous restore of a server) associated with the backup vendors 102, 104 and/or the servers 102 a, 104 a. Thus, if the servers 102 a, 104 a become inoperable, e.g., crash, become corrupted, or destroyed, backup sets stored and managed at/by the cloud server 134 can be used to restore the inoperable servers 102 a, 104 a back to an original or operable environment. The backup vendors 102, 104 can be products of, for example, Dell EMC, Google, Veritas, Commvault, IBM, etc. While two backup vendors 102, 104 are shown in the FIGS., more or fewer backup vendors 102, 104 can be used by the client machines 112. Similarly, while the servers 102 a, 104 a are described herein as single servers, users can create workloads comprised of many single servers (e.g. web server, database server, file server, etc.) to represent high level services (e.g. accounting services, sales systems, public website, etc.), as described in greater detail below.

FIG. 2 is a diagram of the cloud-based computing platform 130 including a web-based application 200 for restoring one or more servers used in the client domain 110, in accordance with an embodiment of the disclosure. The web-based application 200 includes a backup abstraction gateway (BAG) 202 that communicates directly with the backup vendors 102, 104 to obtain one or more backups (e.g., a duplicate or clone of data that was present on the servers 102 a, 104 a prior to the servers 102 a, 104 a becoming inoperable or corrupted) used for restoring the servers 102 a, 104 a. Once the BAG 202 obtains the backup sets for the servers 102 a, 104 a, the BAG 202 stores/manages the backup sets. Particularly, the BAG 202 compiles a listing of the various backup sets for each of the servers 102 a, 104 a, and stores the compiled listing of backup sets for each backup vendor 102, 104 locally in the cloud-based computing platform 130. For example, as noted above, each of the servers 102 a, 104 a can have multiple servers and the multiple servers can have their own backup sets. Accordingly, restoring each of the servers 102 a, 104 a can include using the backup sets for each of the multiple servers of the servers 102 a, 104 a.

The BAG 202 compiles the listings of backup sets for each backup vendor 102, 104 in one or more data look-up tables using identification (ID) information (e.g., names or other ID information) of all the backup vendors 102, 104 including the servers 102 a, 104 a that are being managed and their corresponding backup sets to local cache. For illustrative purposes, a list of backup vendors 102, 104 and their corresponding servers 102 a, 104 a are shown stored in a backup vender cache 204, and a list of corresponding backup vendor solutions are shown stored in a backup vendor solution cache 206. The information contained in the backup vendor cache 204 and the backup vendor solution cache 206 can be also stored in the storage 132 for access thereof by a user via the user interface provided at the client domain 110 (e.g., at the client server 114 and/or the client machines 112), to view, remove, or make changes to the information contained therein.

After the BAG 202 compiles the backup sets for each backup vendor 102, 104, the BAG 202 maintains communication with the backup vendors 102, 104 to obtain updates, if available, for the stored backup sets for each of the backup vendors 102, 104. For example, the BAG 202 can query the backup vendors 102, 104 at a predetermined polling or time interval, which can be set by a user, or a factory default setting can be used. For example, the user can set the BAG 202 to use a polling interval of 1, 5, 10, minutes (or seconds, hours, days, weeks, etc.), or other suitable polling interval, to ensure that the backup sets for the servers 102 a, 104 a of the backup vendors 102, 104 are up to date. The times at which the updates for the backup are performed by the BAG 202 for the backup vendors 102, 104 can be the same or different. For example, the BAG 202 can update the backup sets for the backup vendor 102 at a first polling/time interval and can update the backup sets for the backup vendor 104 at a second polling/time interval that is different from the first polling/time interval. A user can adjust/change a polling/time interval at which the BAG 202 performs the scheduled updates using the user interface at the client machines 112.

The BAG 202 can store information relating to a previous restore of the servers 102 a, 104 a. For example, the information can include a date of a previous restore of the servers 102 a, 104 a, a size of a previous restore of the servers 102 a, 104 a, an outcome of a previous restore of the servers 102 a, 104 a (e.g., whether the previous restore of the servers 102 a, 104 a was successful/unsuccessful), a type of restore of a previous restore of the servers 102 a, 104 a (e.g., in-place or out-of-place, as described in greater detail below), and a time required to complete a restore using a backup. The BAG 202 can use the stored information to determine if the servers 102 a, 104 a comply with one or more predetermined objectives, and can present a compliance status of the servers 102 a, 104 a to a user, which can then take the necessary steps to rectify any compliance issues.

Additionally, the BAG 202 can also store information relating to a previously restored backup. For example, the information relating to a previously restored backup can include a type of the backup (e.g., whether a backup is incremental, differential, full, application based, is for a VM, is for an operating system, etc.). The information relating to a previously restored backup can further include whether a backup used was successful/unsuccessful, various metadata including, but not limited to a size of the backup, a time required to complete a restoration of a server using the backup, etc.

The BAG 202 can store information relating to network information of the servers 102 a, 104 a, for example, hostname information of the servers 102 a, 104 a and configuration/type information of the servers 102 a, 104 a, e.g., database servers, file servers, sharepoint servers, web servers, etc.

The information relating to previous restores of the servers 102 a, 104 a, relating to a previously restored backup, and network information of the servers 102 a, 104 a can be stored in local cache of the BAG 202 or the storage 132.

The BAG 202 communicates with a restore application programming interface (API) 208 of the web-based application 200. The restore API 208 receives a request from the client domain 110 for restoring an inoperable (or corrupted) server(s) (e.g., one or both servers 102 a, 104 a) and transmits this request to the BAG 202, which, in turn, provides the information stored in the backup vendor cache 204 and the backup vendor solution cache 206 to the restore API 208 so that the restore API 208 can restore the inoperable servers that triggered the request to the restore API 208.

The restore API 208 configures a workload 300 (FIG. 3A) for one or more of business functions including, but no limited to, web-based application service, accounting services, sales systems, public website. Each of these business functions can use one or more of the servers 102 a, 104 a. Thus, if one or both the servers 102 a, 104 a become inoperable (or corrupted), the configured workload 300 can be used to restore the servers 102 a, 104 a. The workload 300 is a compilation of data relating to the servers 102 a, 104 a including, but not limited to, data relating to external requirements of the servers 102 a, 104 a, pre-restore scripts that can be executed prior to restoring the servers 102 a, 104 a, post-restore scripts that can be executed subsequent to restoring the servers 102 a, 104 a, data relating to relating whether manual intervention is required before, during, and/or after restoration of the servers 102 a, 104 a, or other suitable data that the restore API 208 can used to restore the servers 102 a, 104 a. The data included in the configured workload 300 can be provided by and/or to a user using a GUI at the client machines 112, as described in more detail below. For example, a user can provide the restore API 208 with information relating to the servers 102 a, 104 a, and the restore API 208 can use this information to configure the workload 300.

Continuing with reference to FIG. 3A, for example, based on a user input the restore API 208 generates steps for the workload 300, and the generated steps specify servers associated with each of the generated steps. For example, if the workload 300 were for a web-based application service (as shown in FIG. 3A), the workload 300 can include four servers including a database server 301, a file server 302, a sharepoint server 303, and a web server 304, which can be categorized among one or more steps; three steps are shown FIG. 3A. Depending on a type of the workload 300, more or fewer steps and/or servers can be used. For example, if workload 300 were a finance-based service, the workload 300 can include three servers including a database server, a finance file server, and a finance server that can be categorized between two steps.

While the generated workload 300 has been described herein as including multiple steps and/or servers, the present disclosure is not so limited. For example, the generated workload 300 can include a single step including a corresponding single server.

FIG. 3B is a flowchart of a method for configuring the workload 300. In FIG. 3A, the workload 300 is configured with a first step (step one) that can be a database step, which can include the database server 301, a second step (step two) that can be a supporting services step, which can include the servers 302, 303, and a third step (step three) that can be an application services step, which can include the server 304.

The order in which the restore API 208 configures the steps 1-3 for restoring the respective servers 301-304 can vary depending on one or more parameters, e.g., a priority/importance of the servers 301-304 (e.g., whether the server 301 needs to be restored before the servers 302, 303 can be restored, whether user/manual intervention is required to restore the servers 301-304, a type of the restoration (in-place or out-of-place) of the servers 301-304, external requirements of the servers 301-304, etc.

The restore API 208 can also configure the workload 300 to include information relating to one or more pre-restore scripts (one or more instructions) and/or post-restore scripts required to restore the servers 301-304. The pre-restore scripts are scripts that are automatically executed prior to restoring the servers 301-304 and can include, for example: scripts used for changing a domain name system of the servers 301-30 a, scripts used for running tests to validate that the servers 301-304 are functioning as intended (e.g., the servers 301-304 are healthy), scripts used for running an operation against a restored servers 301-304, for example, to finalize a setup of the servers 301-304, scripts used to update/create a ticket in a ticketing system (e.g., automatically submit a work ticket that can be used to inform a technician or user that manual intervention is required), etc.

Likewise, the post-restore scripts are scripts that are automatically executed subsequent to restoring the servers 301-304 and can include, for example, scripts used for testing the servers 301-304 to determine if restoration of the servers 301-304 were successful. The pre-restore scripts/post-restore scripts can be executed locally on the client machines 112, at the restore API 208 (e.g., the cloud-based computing platform 130), or remotely on a system in operable communication with the client machine, e.g., a remotely managed web service, etc.

Manual intervention may also be needed to restore the servers 301-304. Accordingly, the restore API 208 may configure the workload 300 to include a request for manual intervention, i.e., request for a user input. Thus, prior or subsequent to executing the pre-restore scripts/post-restore scripts, the restore API 208 can query (e.g., using a GUI) a user locally on the client machines 112 for additional information. For example, the additional information that is inputted using the GUI can include a particular backup for the servers 301-304, e.g., a backup other than the most recently updated backup for one or more of the servers 301-304. That is, the user may want to restore the server 301 using a backup corresponding to a first date and time and restore the servers 302, 303 using a backup corresponding to a second date and time, which is different from the first date and time.

The restore API 208 can retrieve and store information relating to external requirements, if any, needed to restore the servers 301-304. For example, with respect to the server 302, which is illustrated as a file server in FIG. 3A, access to one or more networks (e.g., a user network and a database network) and access to one or more network file systems (NFS) may be needed to restore the server 302.

The pre-restore scripts/post-restore scripts, external requirements, and/or manual intervention requirements of the servers 301-304 can be retrieved by the BAG 202 (e.g., from the backup vendors 102, 104) and can be stored in the BAG 202 along with their corresponding backup sets and accessed by the restore API 208 when the restore API 208 is generating the workload 300.

Continuing with reference to FIG. 3B, at 310 the restore API 208 generates one or more steps at 312. For example, the restore API 208 generates the step one, e.g., the database step, and adds all the servers that should be categorized in the step one, e.g., the server 302, at 314.

At 316, the restore API 208 determines if more steps are needed to configure the workload 300. If yes at 316, the restore API 208 loops back to 312 and continues performing 312-316 until there are no more steps/servers to be generated/categorized, e.g., generates steps two and three and categorizes their respective servers 302-304. If no at 316, at 318, the workload 300 is completed.

Once the workload 300 is configured, the restore API 208 stores the configured workload 300 in the backup vendor solution cache 206 of the BAG 202. Accordingly, if one or more of the servers 301-304 used by the web-based application (for which the workload 300 was configured for) should fail or become corrupted, the restore API 208 can retrieve the workload 300 and use it to restore the servers 301-304 included therein.

More particularly, the restore API 208 can request the BAG 202 to provide the most recent restored backup for the servers 301-304 stored in the backup vendor solution cache 206 and can restore the inoperable servers 301-304 using the provided backup from the BAG 202.

The restore API 208 can also retrieve information relating to external requirements, if any, needed to restore the servers 301-304. For example, with respect to the server 302, which is illustrated as a file server in FIG. 3A, access to one or more networks (e.g., a user network and a database network) and access to one or more network file systems (NFS) may be needed to restore the server 302 of the workload 300. The information relating to the external requirements for the server 302 can be retrieved by the BAG 202 and stored, for example, in the storage 132 (or the local cache), and accessed by the restore API 208 when the restore API 208 is generating the workload 300.

The restore API 208 can restore the servers 301-304 associated with the web-based application service in-place or out-of-place. As used herein, in-place refers to restoring a server that is inoperable due to corruption or deletion of data and includes restoring that server to a particular point in time using a corresponding backup. For example, if the server 301 becomes corrupted, the server 301 is subsequently restored using a previously restored backup for server 301 (and/or the servers 302-304 if needed). Conversely, out-of-place refers to restoring a server that is inoperable due to destruction (e.g., fire), and includes restoring a different server to a particular point in time using a corresponding backup for the destroyed server. For example, if a first server 301 is destroyed, a second server 301 is updated (i.e., restored) using a previously restored backup for the first server 301.

The restore API 208 can use the stored backup sets to restore an inoperable one of the servers 301-304 to an environment corresponding to a particular date and time. For example, the servers 301-304 can be restored to a first date and time (e.g., using a backup set that was obtained a day ago from the backup vendor 102, or the servers 301-304 can be restored to a second date and time (e.g., using a backup set that was obtained from the backup vendor 104 a week ago).

Moreover, each individual one of the servers of the servers 301-304 can be restored to an environment corresponding to a particular date and time. For example, the server 301 categorized in step one of the workload 300 can be restored to a first date and time, the server 302 categorized in step two of the workload 300 can be restored to a second date and time, the server 303 also categorized in step two of the workload 300 can be restored to a third date and time, and the server 304 categorized in step three of the workload 300 can be restored to a fourth date and time.

Thus, when the workload 300 needs to be restored, the restore API 208 can restore the workload 300 (e.g., the servers 301-304) to the particular date and time, e.g., a day ago. For example, the restore API 208 can restore the servers 301-304 to a date and time that is compatible for all of the servers 301-304 and the backup sets used for restoring each of the servers 301-304 will correspond to that particular date and time, or as close to that particular date and time as possible. For example, if the server 301 became corrupted because of ransomware dating back eight hours ago, restoring the server 301 with a most recent updated backup (e.g., a backup from four hours ago) would not prove advantageous as the server 301 would be restored with the backup including the ransomware. Similarly, if the server 302 were destroyed in a fire, the server 302 may need be restored using the most recent backup. Accordingly, the restore API 208 can restore the servers 301, 302 to a date and time that is compatible for both the servers 301, 302, e.g., using a backup updated more than eight hours ago.

FIG. 3C is a method for executing the steps of the workload 300, in accordance with an embodiment of the disclosure. It is assumed that all functions performed by the web-based application 200 are controlled by the cloud server 134.

Initially, the domain server 114 transmits a request to the restore API 208, and the BAG 202 begins receiving the backup sets for the backup vendors 102, 104 being used locally at the client machines 112; the information can include the names of the servers (e.g., servers 301-304) associated with the backup vendors 102, 104. The BAG 202 complies a list of the backup vendors 102, 104 and their corresponding servers 301-304 and the backup sets of the backup vendors 102, 104, and stores the compilation in the backup vendor cache 204 and in the backup vendor solution cache 206, as described above. Once the requisite information is provided to the BAG 202, the BAG 202 manages the various backup sets of the backup vendors 102, 104 and uses the managed backup sets to restore the servers 301 a-304 a and 301 b-303 b, if one should become inoperable.

For example, the BAG 202 requests, at one or more of the above-described polling intervals, that the backup vendors 102, 104 provide updates relating to the backup sets for the servers 301-304. In response to the request, the BAG 202 receives the updated backup sets for the corresponding servers 301-304 from the backup vendors 102, 104. The received updated backup sets for the corresponding servers 301-304 are stored in the backup vendor solution cache 206 and replace the previous restored backups for the corresponding servers 301-304. The previous restored backups for the servers 301-304 can be stored in the storage 132 for viewing by a user at the client domain 110, or can be simply deleted. In the former instance, the BAG 202 can store any number of previous restored backups for the servers 301-304. For example, the BAG 202 can store 1, 2, 3, 4, and so on of previously stored backup sets for the servers 301-304; the number of previously restored backups that the BAG 202 stores can depend on a user setting, storage capabilities of the storage 132, a manufacturer's preference, etc.

If the servers 301-304 should become inoperable (e.g., in-place or out-of-place), a failure indication is generated locally at the domain server 114 of the domain 110 and transmitted to and received at the restore API 208; generation/transmission of the failure indication can be performed automatically or manually—depending on a specific configuration of the web-based application 200, a particular reason that a server fails, etc. For example, failure of one or all the servers 301-304 can automatically trigger the domain server 114 to generate the failure indication and transmit the failure indication to the restore API 208. Conversely, if the failure indication is sent manually (e.g., by a user) to the restore API 208, a user interface, such as the graphical user interface (GUI) described below, can be provided at the client domain 110 (e.g., at the client machines 112) and used to receive a user input for requesting a manual restore of one of the inoperable servers 301-304 from the restore API 208.

For illustrative purposes, it is assumed that the failure indication was transmitted automatically for the servers 301-304 (e.g., associated with the web-based application service of FIG. 3A) which have become inoperable and need to be restored in-place.

Accordingly, upon receiving the failure indication at the restore API 208, the restore API 208 begins restoring the servers 301-304 using the previously configured and stored workload 300 at 310, 320, respectively.

For example, the most recent backup sets for the servers 301-304 can include information relating to the data that was present on the server 301-304 prior to the servers 301-304 becoming inoperable, and/or any information relating to any external requirements. Accordingly, the restore API 208 uses the received backup sets from the BAG 202 and restores each of the servers 301-304 in each of the generated steps one-three.

The way the servers 301-304 are restored in each of the generated steps one-three can depend on, for example, the number of steps that were generated to configure the workload, the number of servers categorized for each step, whether user input is needed, etc.

For example, when the workload 300 is configured as shown in FIGS. 3A and 3B, the restore API 208 can first restore the server 301 in the generated step one using the most recently updated backup for the server 301 (or another backup) provided by the BAG 202 at 322. After the server 301 is restored, the restore API 208 can mark step one as completed/restored at 323; this operation, however, is optional, but can be helpful if manual intervention is required during a restoration process of a server or if manual restoration of a server is being performed, as described in more detail below.

Thereafter, at 324 the restore API 208 determines if there are more generated steps. If yes at 324, such as in FIG. 3A, the restore API 208 continues sequentially executing the steps so that the servers categorized in the remaining steps can be restored. For example, since the configured workload 300 has three steps one-three, after the determination yes at 324, the restore API 208 executes step two and restores the servers 302, 303. When two or more servers are categorized in a step, such as in step two, the restore API 208 can restore each server 302 and 303 parallelly (e.g., restore both the servers 302, 303 prior to executing the step three) using the corresponding most recently updated backup for the servers 302, 303 (or other backup) provided by the BAG 202. After the servers 302, 303 in step two are restored, the step two can be marked as completed/restored. Subsequently, the restore API 208, loops back to 322, and then restores the server 304 in the step three using the most recently updated backup (or another backup) for the server 304 provided by the BAG 202. A determination no at 324 indicates that restoration of the servers 301-304 is completed, and all the servers 301-304 can be marked restored at 326.

When performing 322-324, i.e., executing the steps one-three, the restore API 208 determines if the backup solutions included any of the aforementioned requirements, e.g., one or more pre-restore scripts requirement, external requirements, manual intervention requirements, before executing the steps one-three.

For example, during execution of step one at 322, the restore API 208 at 328 may determine if a pre-restore script needs to be executed prior to restoring the server 301. If yes at 328, the restore API 208 executes the pre-restore script at 330. For example, at 330 the restore API 208 can perform a pre-restore script that includes changing a domain name system of the servers 102 a (and/or the servers 301-304). If no at 328, the restore API 208 restores the server 301 at 332.

Thereafter, the restore API 208 at 334, may determine if any other requirements are needed after the server 301 is restored. For example, the restore API 208 at 334 may determine if a post-restore script needs to be executed subsequent to restoring the server 301. If yes at 334, the restore API 208 executes the post-restore script at 334. For example, at 334 the restore API 208 can perform a post-restore script that includes testing a server and/or server to determine if restoration of that server and/or server was successful. After the post-restore script is executed, the method loops back to 323.

While the method of FIG. 3C has been described herein with respect to the pre-restore scripts/post-restore scripts, the present disclosure is not so limited. For example, the manual intervention requirements and/or the external requirements can also be determined/executed in addition to the pre-restore scripts/post-restore scripts. For example, if manual intervention is required (yes at 328) to continue with the restoration of the server 301 (e.g., if a backup solution other than the most recently updated backup solution is to be used for restoring the server 301), at 330 a user is requested to input the required information to the restore API 208; the restore API 208 can mark the step one as incomplete until the required information is provided/inputted to the restore API 208 at 330. After the required information is inputted at 330, the restore API 208 restores the server 301 at 332 and the method continues to 334, as described above.

The restore API 208 may also be configured to automatically pause prior to executing a subsequent step. For example, after the server 301 of step one is restored, prior to the restore API 208 executing the step two at 322, at 328 (for example) the restore API 208 may be configured to automatically query a user for information relating to the servers 302, 303 in the step two (e.g., information relating to a restore out-of-place or if a backup solution other than the most recently updated backup solution is to be used for the servers 301, 302). The user can provide/input the requested information to the restore API 208 at 330, which can then restore the servers 302, 303 and can proceed to 334, as described above.

Similarly, the restore API 208 can be configured to automatically pause prior to executing a subsequent for determining if one of the above-mentioned external requirements needs to be considered, such as, access to one or more networks (e.g., a user network and a database network) and access to one or more NFS may be needed to restore the server 302 of the server 102 a.

As noted above, the restore API 208 can provide one or more GUIs when manual intervention is required at 330/336 (i.e., a yes at 328/334) for restoring/after restoring one or more of the servers 301-304. The restore API 208 can, for example, provide a user with one or more types of GUIs which can be displayed on a display of the client machines 112. For example, a GUI 500 (FIG. 5) can include the information used to configure the workload 300 of FIG. 3A and can include any one of labels, text fields, buttons, text area, checkboxes, radio buttons, drop-down lists, etc. For illustrative purposes, the GUI 500 is shown including a text area 501 including an ID of the inoperable server (e.g., server 102 a) and a listing of the generated steps one-three. Each listing of the steps one-three can include a drop-down list 502 including a listing of the stored backup solutions (including the most recently updated backup solution, which will be shown as the first backup solution) for the inoperable server, which can be selected by a user for restoring the inoperable server. The drop down 502 list can also include an indictor (e.g., server restored) for indicating that a server has been restored. Also, when the restore API 208 is configured to automatically pause after a step is completed, e.g., (yes at 328) after the step one is completed and prior to executing the step two, the GUI 500 can include an automatic inquiry request tab 503 (shown in phantom) for receiving user information. For example, if the restore API 208 is performing an out-of-place restore, a user may be requested to select a backup solution other than the most recently updated backup solution.

A system 100 that uses the methods described herein can restore inoperable servers in a relatively quick manner, when compared to conventional methods used to restore inoperable servers. More particularly, since the stored/updated backup sets for corresponding backup vendors are readily available at the BAG 202, the restore API 208 is not required to query each individual backup vendor for the most recent backup when a server becomes inoperable. Moreover, the BAG 202 allows a user to track changes in the backup information in a common manner regardless of the backup solution(s). Furthermore, since the information provided in the workload 300 including the pre-restore/post-restore scripts is created and stored in the BAG 202 (e.g., prior to a disaster occurring), the information contained in the workload 300 can be used by the restore API 208, with minimal user intervention, to restore corresponding servers associated with one or more function-based services in a relatively quick and easy manner at a client machine.

FIG. 4 is a diagram of an electronic device, in accordance with an embodiment of the disclosure. The electronic device performs the above-described functions and processes of the client server 114 and/or the cloud server 134.

The electronic device 400 includes a bus 410, a processor or controller 420, a memory 430 (or storage, e.g., the storage 132), an input/output interface 450, a display 460, and a communication interface 470. At least one of the above-described components may be omitted from the electronic device 400 or another component may be further included in the electronic device 400.

The bus 410 may be a circuit connecting the above-described components 420, 430, 450, 460, and 470 and transmitting communications (e.g., control messages and/or data) between the above-described components.

The processor 420 may include one or more of a central processing unit (CPU), an application processor (AP), and a communication processor (CP). The processor 420 controls at least one of the other components of the electronic device 400 and/or processing data or operations related to communication.

The memory 430 may include volatile memory and/or non-volatile memory. The memory 430 stores data or commands/instructions related to at least one of the other components of the electronic device 400. The memory 430 stores software and/or a program module 440 (e.g., web-based application 200). For example, the program 440 may include a kernel 441, middleware 443, an API 445 (e.g., a restore API 208), application programs 447 (or applications, e.g., web-based application 200). The kernel 441, the middleware 443 or at least part of the API 445 may be called an operating system.

The kernel 441 controls or manages system resources (e.g., the bus 410, the processor 420, the memory 430, etc.) used to execute operations or functions of other programs (e.g., the middleware 443, the API 445, and the applications 447). The kernel 441 provides an interface capable of allowing the middleware 443, the API 445, and the applications 447 to access and control/manage the individual components of the electronic device 400.

The middleware 443 may be an interface between the API 445 or the applications 447 and the kernel 441 so that the API 445 or the applications 447 can communicate with the kernel 441 and exchange data therewith. The middleware 443 is capable of processing one or more task requests received from the applications 447. The middleware 443 assigns a priority for use of system resources of the electronic device 400 (e.g., the bus 410, the processor 420, the memory 430, etc.) to the application 447. The middleware 443 processes one or more task requests according to a priority assigned to at least one application program, thereby performing scheduling or load balancing for the task requests. For example, in the event of one of the servers 102 a, 104 a becoming inoperable, the middleware 443 can assign a high priority for the tasks required to restore the servers 102 a, 104 a to an operation state.

The API 445 may be an interface that is configured to allow the applications 447 to control functions provided by the kernel 441 or the middleware 443. The API 445 may include at least one interface or function (e.g., instructions) for file control, window control, image process, text control, or the like. For example, during a restore operation, the API 445 allows the applications 447 to display one or more user interfaces that allow a user to navigate through the BAG 202 of web-based application 200 to enter the above-described information associated with the backup vendors 102, 104.

The input/output interface 450 is capable of transferring instructions or data, received from the user or external devices, to one or more components of the electronic device 101. The input/output interface 450 is capable of outputting instructions or data, received from one or more components of the electronic device 400, to the user or external devices. The input/output device 450 can be configured to create one or more GUIs for receiving a user input, as described above.

The display 460 may include a liquid crystal display (LCD), a flexible display, a transparent display, a light emitting diode (LED) display, an organic LED (OLED) display, micro-electro-mechanical systems (MEMS) display, an electronic paper display, etc. The display 460 displays various types of content (e.g., texts, images, videos, icons, symbols, etc.). The display 460 may also be implemented with a touch screen. The display 460 receives touches, gestures, proximity inputs or hovering inputs, via a stylus pen, or a user's body. Accordingly, the display 450 can be used to receive a user input on one or more GUIs, e.g., the GUI 500.

The communication interface 470 establishes communication between the electronic device 400 and an external device (e.g., backup vendors 102, 104) connected to the network 120 via wired or wireless communication.

Wireless communication may employ, as cellular communication protocol, at least one of long-term evolution (LTE), LTE advance (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), wireless broadband (WiBro), and global system for mobile communication (GSM). Wireless communication may also include short-wireless communication 122. Short-wireless communication 122 may include at least one of wireless fidelity (Wi-Fi), Bluetooth (BT), near field communication (NFC), magnetic secure transmission (MST), etc. Wired communication may include at least one of universal serial bus (USB), high definition multimedia interface (HDMI), recommended standard 232 (RS-232), and plain old telephone service (POTS). The network 120 may include at least one of a telecommunications network, e.g., a computer network (e.g., local area network (LAN) or WAN), the Internet, and a telephone network.

While the domain server 114 and the cloud server 134 have been described herein as communicating with the backup vendors 102, 104 over the network 120, the disclosure is not so limited. For example, one or both the domain server 114 and the cloud server 134 can communicate with each other and/or the backup vendors 102, 104 over the short-wireless communication 122.

In addition, it can be appreciated that the various operations, processes, and methods disclosed herein can be embodied in a machine-readable medium and/or a machine accessible medium compatible with a data processing system (e.g., a computer system), and can be performed in any order (e.g., including using means for achieving the various operations). Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense. In some embodiments, the machine-readable medium can be a non-transitory form of machine-readable medium.

Furthermore, while the methods described herein have been described for use with the cloud-based computing platform 130, the disclosure is not so limited. For example, the methods described herein can be performed locally using the client server 114 in the client domain 110. Additionally, one or more of the sequences in the methods described herein can be omitted, or one or more sequences not herein described can be added.

While the disclosure has been shown and described with reference to certain embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure. Therefore, the scope of the disclosure should not be defined as being limited to the embodiments, but should be defined by the appended claims and equivalents thereof. 

What is claimed is:
 1. A method for cloud-based disaster recovery, the method comprising: configuring, at a cloud-based computing platform, a workload associated with a function-based service used by a client machine; generating a step listing a server associated with the function-based service, wherein the generated step is based on information provided by a user at the client machine; determining if an additional step is required, and if an additional step is required, listing a server for each additional step, and if no additional steps are required, completing the workload; and upon receiving, from the client machine, a failure indication associated with the servers, restoring servers for each generated step of the workload including determining for each server in each generated step if at least one of a pre-restore script or a manual input needs to be executed, wherein executing the pre-restore script comprises at (cast one of changing a domain name system of the server, and wherein executing the pre-restore script is performed locally on the client machine.
 2. The method of claim 1, wherein executing the pre-restore script further comprises running tests to validate that the servers are functioning as intended, wherein restoring servers for each generated step further comprises determining if a post-restore script needs to be executed, wherein executing the post-restore script comprises testing the servers to determine if restoration of the servers was successful, and wherein executing the manual input comprises selecting at least one backup solution used for restoring a server of the servers.
 3. The method of claim 1, wherein executing one of the pre-restore script or a post-restore script is performed or remotely on a system in operable communication with the client machine, and wherein executing the manual input is performed locally on the client machine.
 4. The method of claim 1, further comprising executing at least one of the pre-restore script, a post-restore script, or the manual input for generating each step.
 5. The method of claim 1, further comprising providing a graphical user interface at the client machine for receiving the manual input.
 6. The method of claim 5, wherein the graphical user interface displays the configured workload including the listing of servers and an indicator indicating which of the servers have been restored.
 7. The method of claim 1, wherein restoring the servers comprises using corresponding backup solutions, which are stored at the cloud-based computing platform, for the servers.
 8. The method of claim 1, wherein restoring servers is performed sequentially for each generated step, and wherein executing the pre-restore script, a post-restore script, or the manual input is performed prior to restoring each server of the servers.
 9. A nontransitory computer readable storage medium having stored thereon instructions that when executed by a processor perform a method for cloud-based disaster recovery, the method comprising: configuring, at a cloud-based computing platform, a workload associated with a function-based service used by a client machine; generating a step listing a server associated with the function-based service, wherein the generated step is based on information provided by a user at the client machine; determining if an additional step is required, and if an additional step is required, listing a server, and if no additional steps are required, completing the workload; and upon receiving, from the client machine, a failure indication associated with the servers, restoring servers for each generated step of the workload including determining for each server in each generated step if at least one of a pre-restore script or a manual input needs to be executed, wherein executing the pre-restore script comprises and wherein executing the pre-restore script is performed locally on the client machine.
 10. The nontransitory computer readable storage medium of claim 9, wherein executing the pre-restore script further comprises running tests to validate that the servers are functioning as intended, wherein restoring servers for each generated step further comprises determining if a post-restore script needs to be executed, wherein executing the post-restore script comprises testing the servers to determine if restoration of the servers was successful, and wherein executing the manual input comprises selecting at least one backup solution used for restoring a server of the servers.
 11. The nontransitory computer readable storage medium of claim 9, wherein executing one of the pre-restore script or a post-restore script is performed remotely on a system in operable communication with the client machine, and wherein executing the manual input is performed locally on the client machine.
 12. The nontransitory computer readable storage medium of claim 9, further comprising executing at least one of the pre-restore script, a post-restore script, or the manual input for generating each step.
 13. The nontransitory computer readable storage medium of claim 9, further comprising providing a graphical user interface at the client machine for receiving the manual input, wherein the graphical user interface displays the configured workload including the listing of servers and an indicator indicating which of the servers have been restored.
 14. The nontransitory computer readable storage medium of claim 9, wherein restoring the servers comprises using corresponding backup solutions, which are stored at the cloud-based computing platform, for the servers.
 15. The nontransitory computer readable storage medium of claim 9, wherein restoring servers is performed sequentially for each generated step, and wherein executing the pre-restore script, a post-restore script, or the manual input is performed prior to restoring each server of the servers.
 16. A cloud-based server of a cloud-based computing platform comprising: a processor; and a memory coupled to the processor and having stored thereon instructions that when executed by the processor configure the cloud-based server to: configure, at a cloud-based computing platform, a workload associated with a function-based service used by a client machine; generate a step listing a server associated with the function-based service, wherein the generated step is based on information provided by a user at the client machine; determine if an additional step is required, and if an additional step is required, list a server for each additional step, and if no additional steps are required, complete the workload; and upon receiving, from the client machine, a failure indication associated with the servers, restore servers for each generated step of the workload including determining for each server in each generated step if at least one of a pre-restore script or a manual input needs to be executed, wherein executing the pre-restore script comprises changing a domain name system of the server, and wherein executing the pre-restore script is performed locally on the client machine.
 17. The cloud-based server of claim 16, wherein executing the pre-restore script further comprises running tests to validate that the servers are functioning as intended, wherein restoring servers for each generated step further comprises determining if a post-restore script needs to be executed, wherein executing the post-restore script comprises testing the servers to determine if restoration of the servers was successful, and wherein executing the manual input comprises selecting at least one backup solution used for restoring a server of the servers.
 18. The cloud-based server of claim 16, wherein executing one of the pre-restore script or a post-restore script is performed remotely on a system in operable communication with the client machine, and wherein executing the manual input is performed locally on the client machine.
 19. The cloud-based server of claim 16, wherein the instructions further configure the cloud-based server to: execute at least one of the pre-restore script, a post-restore script, or the manual input for generating each step; and provide a graphical user interface at the client machine for receiving the manual input.
 20. The cloud-based server of claim 19, wherein the graphical user interface displays the configured workload including the listing of servers and an indicator indicating which of the servers have been restored, wherein the cloud-based server restores the servers using corresponding backup solutions, which are stored at the cloud-based computing platform, for the servers, wherein the cloud-based server restores servers sequentially for each generated step, and wherein the cloud-based server executes the pre-restore script, the post-restore script, or the manual input prior to restoring each server of the servers. 